﻿using System;
using System.Threading.Tasks;

namespace _056_在Main方法中使用异步等待
{
    class Program
    {
        static async Task Main(string[] args)
        {
            Console.WriteLine("先等2秒");
            await Task.Delay(2000);
            Console.WriteLine("再等3秒");
            await Task.Delay(3000);
            Console.WriteLine("还要等4秒");
            await Task.Delay(4000);

            Console.Read();



        }
    }
}
